@import "anstyle";

*{
  margin: 0;
  padding: 0;
}

body {
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: @body-bg;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  height: 100%;
  box-sizing: border-box;
}


#app{
  height: 100%;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus{
  outline: none;
}

a:focus,
a:active {
  outline: none;
}


a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}



img{
  max-width: 100%;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}
.an-left{
  float: left;
}
.an-right{
  float: right;
}


//main-container全局样式
.app-main{
  min-height: 100%
}

.app-container {
  padding: 20px;
}



.icon-white{
  fill: #ffffff;
}
.icon-ccc{
  fill: #ccc;
}
.icon-text2{
  fill:@color-text2;
}
.icon-text3{
  fill:@color-text3;
}
.ico-gree{
  fill: @color-gre2;
}

//自定义连接式按钮
.an-btn-link{
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
  box-sizing: border-box;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  color: #FFFFFF;
  line-height: 2.33333333;
  border-radius: 5px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  overflow: hidden;
}

.custom-primary-red {
  border-radius: 99px!important;
  border-color: #CE3C39!important;
  color: #CE3C39!important;
  &:active {
    border-color: rgba(206, 60, 57, 0.6)!important;
    color: rgba(206, 60, 57, 0.6)!important;
    background-color: transparent;
  }
}

.an-link{
  color: @color-Blue;
}

.an-user-page,.an-children-page{
  position: absolute;
  top:0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: @body-bg;
}


.color-Blue{
  color: @color-Blue;
}
.color-Success{
  color: @color-Success;
}
.color-Warning{
  color: @color-Warning;
}
.color-Danger{
  color: @color-Danger;
}
.color-org{
  color: @color-org;
}



.an-home-page{
  position: absolute;
  top:0;
  bottom: 51px;
  left: 0;
  right: 0;

}
/* 页面头部样式 */
.head-whit{
  color: @color-text2;
  background-color: #F7F7FA !important;
}
.head-gree{
  background-color: @color-gre2 !important;
  &.vux-header{
    color: #FFFFFF;
    .vux-header-left{
      .left-arrow:before{
        border-color: #FFFFFF;
      }
      a{
        color: #FFFFFF;
      }
    }
    .vux-header-right{
      color: #FFFFFF;
    }
  }
}


/* 按钮样式 */
.weui-btn{
  &.weui-btn_plain-warn{
    color: @color-org;
    border-color: @color-org;
  }
  &.weui-btn_plain-default{
    color: @color-text3;
    border-color: @color-text3;
  }
  &.an-border-radius{
    border-radius: 99px;
  }
}



/* 商城 */
.shop{
  .shop-list{
    .shop-mainpic{
      width: 140px;
      height: 140px;
      border-radius: 10px;
      margin-right: 15px;
      overflow: hidden;
      img{
        width: 100%;
        //height: 100%;
      }
    }
    .weui-cell__ft{
      height: 140px;
    }
    .shop-right{
      text-align: left;
      height: 100%;
      color: @color-text1;
      position: relative;
      .shop-til{
        font-weight: 400;
        .tilelic;
        margin: 0;
        padding: 0;
      }
      .an-biaoqian{
        background-color: @color-border3;
        padding: 5px 8px;
        border-radius: 8px;
        font-size: 12px;
        overflow: hidden;
      }
      .an-shop-info{
        position: absolute;
        bottom: 0;
        font-size: 12px;
        .money{
          font-size: 24px;
          margin-right: 20px;
        }
      }
    }
  }

}

.head-ico{
  .vux-badge{
    position: absolute;
    top:-8px;
    right: -8px;
  }
  svg{
    width: 25px;
    height: 25px;
  }
}

.shopinfo{
  .an-box{
    background-color: #FFFFFF;
    overflow: hidden;
  }
  .money{
    font-size: 24px;
  }
  .til{
    h4{
      font-size: 20px;
      font-weight: 400;
      color: @color-text1;
      margin: 10px 0;
      .tilelic
    }
  }
  .info-text{
    font-size: 14px;
    color:@color-text3 ;
  }
  .card-padding{
    padding: 10px;
  }

}

.an-footer{
  .btn{
    height: 49px;
    line-height: 49px;
    text-align: center;
    color: #FFFFFF;
    background: #ffc201;
    &.btn-color{
      background: #ff5f01;
    }
  }
}

.footer{
  display: flex;
  position: absolute;
  z-index: 500;
  bottom: 53px;
  width: 100%;
  .no-border-radius{
    border-radius: 0;
  }
}

.an-popup{
  background-color:#fff;
  margin:0 auto;
  border-radius:5px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-top:10px;
}
